// actions中进行异步操作
import * as types from './mutation-types'

export const SignIn = context => {
  context.commit('SignIn')
}

export const SignOut = context => {
  context.commit('SignOut')
}

export const getToken = (context, token) => {
  context.commit('getToken', token)
}

export const getUserInfo = (context, token) => {
  context.commit('getUserInfo', token)
}

export const getExpertinfo = (context, expertinfo) => {
  context.commit('getExpertinfo', expertinfo)
}

export const getUserid = (context, token) => {
  context.commit('getUserid', token)
}
